package cc.opcol.iot.server.util;

import com.google.gson.Gson;

public class GsonUtil {
    static Gson gson=new Gson();

    public static String toJson(Object object){
        return gson.toJson(object);
    }

    public static Gson getGson() {
        return gson;
    }
}
